﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mulala.Cavan.Domain.MainBoundedContext.SearchModule
{
    public static class NoticeSearchFactory
    {
        public static NoticeSearch CreateNoticeSearch(IDictionary<string, bool> orderBy, int currentPage, int maxRowsPerPage)
        {
            NoticeSearch search = new NoticeSearch();
            search.OrderBy = orderBy;
            search.CurrentPage = currentPage;
            search.MaxRowsPerPage = maxRowsPerPage;

            return search;
        }
    }
}
